package cn.hr.service;

import cn.hr.base.BaseService;
import cn.hr.pojo.PayrollO;
import org.apache.ibatis.annotations.Param;
import org.springframework.cache.annotation.Cacheable;

import java.sql.SQLException;
import java.util.Map;

/**
 * 组织工资单服务接口
 *
 * @author MO
 */
public interface PayrollOService extends BaseService<PayrollO> {
    /**
     * 根据id查询指定列
     *
     * @param id
     * @return
     * @throws SQLException
     */
    @Cacheable(keyGenerator = "keyGenerator")
    Map findMapById(String id) throws Exception;
}
